package com.eastmelon.blog.dao.impl;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

import com.eastmelon.blog.dao.LinkDao;
import com.eastmelon.blog.entity.Link;

@Repository("linkDao")
public class LinkDaoImpl extends BaseDaoImpl<Link> implements LinkDao {
	public LinkDaoImpl() {
		super.setNs("com.eastmelon.blog.mapper.LinkMapper");
	}

	@Override
	public Integer getMaxPos() {
		return this.getSqlSession().selectOne(getNs()+".getMaxPos", null);
	}


}
